package com.nuanshui.heatedloan.task.facade.bean;

import java.io.Serializable;

public class JobProvider implements Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = 577148086950369695L;
	private  String jobName;//任务名称
	private  String jobGroup;//任务组
	
	private  JobParams params = new JobParams();//参数
	
	public void addParams(String key,Object value) {
		params.addAttribute(key, value);
	}
	public JobParams getParams() {
		return params;
	}
	public void setParams(JobParams params){
		this.params = params;
	}
	public String getJobName() {
		return jobName;
	}
	public void setJobName(String jobName) {
		this.jobName = jobName;
	}
	public String getJobGroup() {
		return jobGroup;
	}
	public void setJobGroup(String jobGroup) {
		this.jobGroup = jobGroup;
	}

	public JobProvider(String jobName, String jobGroup) {
		super();
		this.jobName = jobName;
		this.jobGroup = jobGroup;
	}
	public JobProvider() {
		super();
	}
	
	
	
	
}
